 
<?php
	$iProfile=empty($_POST["iProfile"])?"":$_POST["iProfile"];
	$iProductType=empty($_POST["iProductType"])?"":$_POST["iProductType"];
	$sText=empty($_POST["sText"])?"":$_POST["sText"];
	$iInventory=empty($_POST["iInventory"])?"":$_POST["iInventory"];
	//insert value       
	$command = "update tInventory set sText='$sText' WHERE iInventory=$iInventory";
				$con = mysqli_connect("earth.cs.utep.edu",
									"wb_cjvicario",
									"utep987");

	$con->select_db("5339team1");
	$con->query($command);
	$con->close();
	
	include('InventoryRetrieve.php');
?>	